const requset = require("./requset");

exports.saveDoc = async function saveDoc(repo_id, id, body) {
  // /repos/: repo_id / docs /: id
  return requset({
    method: "put",
    url: `/repos/${repo_id}/docs/${id}`,
    params: body
  });
}